#ifndef LOGIN_H
#define LOGIN_H

#include <QDialog>
#include<QRegularExpressionValidator>
#include<QFile>

namespace Ui {
class Login;
}

class Login : public QDialog
{
    Q_OBJECT
public:
    QString loginAccount;
    QString loginPassword;

public:
    explicit Login(QWidget *parent = nullptr);
    ~Login();

private slots:
    void clickLoginBtn();
    void clickRegisteBtn();

private:
    const bool judgeAccount();
    const bool judgePassword();

private:
    Ui::Login *ui;
};

#endif // LOGIN_H
